package cn.com.dycc.party_work.apply.param;

import java.io.Serializable;

import cn.com.dycc.common.page.TablePublicAttri;

public class ApplyParam extends TablePublicAttri implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6235710568427898354L;
	private String apply_id;
	private String user_id;
	private String dept_id;	//归属党组织ID
	private String certificate;
	private String sex;
	private String native_place; //籍贯
	private String education;	//学历
	private String apply_flag;	//申请标识
	private String apply_date;	
	private String sponsor;	//介绍人
	private String address;
	private String birthday;
	private String class_id;	//职务
	private String post_id;	//岗位
	private String tel_m;	//移动电话
	private String tel;	//固定电话
	private String remark;
	private String user_pic;
	private String org_id;
	
	private String listAttach;

	public ApplyParam(){
		
	}

	
	public ApplyParam(String apply_id, String user_id, String dept_id, String certificate, String sex,
			String native_place, String education, String apply_flag, String apply_date, String sponsor, String address,
			String birthday, String class_id, String post_id, String tel_m, String tel, String remark, String user_pic,
			String org_id, String listAttach) {
		super();
		this.apply_id = apply_id;
		this.user_id = user_id;
		this.dept_id = dept_id;
		this.certificate = certificate;
		this.sex = sex;
		this.native_place = native_place;
		this.education = education;
		this.apply_flag = apply_flag;
		this.apply_date = apply_date;
		this.sponsor = sponsor;
		this.address = address;
		this.birthday = birthday;
		this.class_id = class_id;
		this.post_id = post_id;
		this.tel_m = tel_m;
		this.tel = tel;
		this.remark = remark;
		this.user_pic = user_pic;
		this.org_id = org_id;
		this.listAttach = listAttach;
	}

	
	@Override
	public String toString() {
		return "ApplyParam [apply_id=" + apply_id + ", user_id=" + user_id + ", dept_id=" + dept_id + ", certificate="
				+ certificate + ", sex=" + sex + ", native_place=" + native_place + ", education=" + education
				+ ", apply_flag=" + apply_flag + ", apply_date=" + apply_date + ", sponsor=" + sponsor + ", address="
				+ address + ", birthday=" + birthday + ", class_id=" + class_id + ", post_id=" + post_id + ", tel_m="
				+ tel_m + ", tel=" + tel + ", remark=" + remark + ", user_pic=" + user_pic + ", org_id=" + org_id
				+ ", listAttach=" + listAttach + "]";
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((apply_id == null) ? 0 : apply_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ApplyParam other = (ApplyParam) obj;
		if (apply_id == null) {
			if (other.apply_id != null)
				return false;
		} else if (!apply_id.equals(other.apply_id))
			return false;
		return true;
	}

	
	
	public String getOrg_id() {
		return org_id;
	}


	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}


	public String getApply_id() {
		return apply_id;
	}

	public void setApply_id(String apply_id) {
		this.apply_id = apply_id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getDept_id() {
		return dept_id;
	}

	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}

	public String getCertificate() {
		return certificate;
	}

	public void setCertificate(String certificate) {
		this.certificate = certificate;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNative_place() {
		return native_place;
	}

	public void setNative_place(String native_place) {
		this.native_place = native_place;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getApply_flag() {
		return apply_flag;
	}

	public void setApply_flag(String apply_flag) {
		this.apply_flag = apply_flag;
	}

	public String getApply_date() {
		return apply_date;
	}

	public void setApply_date(String apply_date) {
		this.apply_date = apply_date;
	}

	public String getSponsor() {
		return sponsor;
	}

	public void setSponsor(String sponsor) {
		this.sponsor = sponsor;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getClass_id() {
		return class_id;
	}

	public void setClass_id(String class_id) {
		this.class_id = class_id;
	}

	public String getPost_id() {
		return post_id;
	}

	public void setPost_id(String post_id) {
		this.post_id = post_id;
	}

	public String getTel_m() {
		return tel_m;
	}

	public void setTel_m(String tel_m) {
		this.tel_m = tel_m;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUser_pic() {
		return user_pic;
	}

	public void setUser_pic(String user_pic) {
		this.user_pic = user_pic;
	}

	public String getListAttach() {
		return listAttach;
	}

	public void setListAttach(String listAttach) {
		this.listAttach = listAttach;
	}

	
	
	
}
